package com.rpa.server.servicerpaserver.crawler.service;

import com.rpa.server.servicerpaserver.crawler.entity.Score;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rpa.server.servicerpaserver.expose.dto.ScoreDto;
import com.rpa.server.servicerpaserver.expose.dto.WorkDto;

import java.util.List;
import java.util.Map;

/**
 *
 */
public interface ScoreService extends IService<Score> {

    boolean resetScore(ScoreDto scoreDto);
    boolean updateScore(Score score);

    boolean saveScoreDefault(ScoreDto scoreDto);

    List<Map<String, Object>> getScoreTotal(ScoreDto scoreDto);
    List<List<String>> head();
    List<List<Object>> dataList(ScoreDto scoreDto);
    List<List<String>> headTotal(List<Map<String, Object>> filteredScoreTotal);
    List<List<Object>> dataListTotal(List<Map<String, Object>> filteredScoreTotal);

    List<Score> getScoreList(ScoreDto scoreDto);
}
